package com.fuchenyang.sentinel.consumer.feign;

import com.fuchenyang.common.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "example-sentinel-provider")
public interface ProviderFeign {
    @GetMapping("/provider/a")
    JsonResult a();


    @GetMapping("/provider/b")
    JsonResult b();
}